package com.hnkywl.sts.action.sfgl;

import com.hnkywl.sts.entity.sfgl.Sfk;
import com.hnkywl.sts.entity.sys.Yg;
import com.hnkywl.sts.service.htgl.HtService;
import com.hnkywl.sts.service.sfgl.FkshService;
import com.hnkywl.sts.service.sfgl.FkshmxService;
import com.hnkywl.sts.service.sys.YgService;
import net.ruixin.web.struts2.SimpleActionSupport;
import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Namespace;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 说明：
 * 包:        com.hnkywl.sts.action.sfgl
 * 类描述:    岗位Action类
 * 修改备注: [说明本次修改内容]
 * 版本:        [v1.0]
 */
@Namespace("/sfgl/fkshmx")
public class FkshmxAction extends SimpleActionSupport {
    private FkshmxService fkshmxService;
    //分页组件 起始位置
    private int page;
    //分页组件 页面大小
    private int rows = 10;

    private Long fkshId;

    //付款审核的查询分页显示
    @Action("fkshmxList")
    public void fkshmxList() {
        this.renderJson(this.fkshmxService.findAllFkshmx(fkshId,page, rows));
    }

    public Long getFkshId() {
        return fkshId;
    }

    public void setFkshId(Long fkshId) {
        this.fkshId = fkshId;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getRows() {
        return rows;
    }

    public void setRows(int rows) {
        this.rows = rows;
    }

    @Autowired
    public void setFkshmxService(FkshmxService fkshmxService) {
        this.fkshmxService = fkshmxService;
    }
}
